//************************************************************
//    > File Name: stack.cpp
//    > Author: davis
//    > Mail:  
//    > Created Time: 2017年03月23日 11:34:18
//***********************************************************

#include<bits/stdc++.h>
using namespace std;

int main(){
	stack<string> s1;
	s1.emplace("first");
	s1.emplace("second");
	s1.push("third");
	cout<<"s1.size is "<<s1.size()<<endl;  //3
	while(!s1.empty()){
		cout<<s1.top()<<" ";  //third second first
		s1.pop();
	}
	
	return 0;
}
